s = input("请输入字符串: ")

count = dict()
for word in s:
    # 遍历字符串
    count[word] = count.get(word, 0) + 1

print(f"{count}")
